programming4us
           
 
 
SQL Server

SQL Server 2008: Troubleshooting SSB Applications with ssbdiagnose.exe

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
12/30/2010 3:06:26 PM
SQL Server 2008 comes with a new command-line application, ssbdiagnose.exe. You use this advanced utility to monitor SSB conversations or to check application configuration status, both across databases and between computers. It supports a variety of authentication and configuration options and generates either plain text or XML as its output.

The general syntax for ssbdiagnose.exe has three parts:

  • Output format and error level

  • Connection information

  • Application-specific settings

You can leverage the full syntax of ssbdiagnose.exe by simply executing it from the command line with no options (it is located in the folder [SQL Server installation root]\[version number]\Tools\Binn). To run it, open a command window (run the CMD.exe program) and then navigate to your installation location using the CD command. As an exercise, you can execute any of the examples that follow.

In the following example, you connect to the current SSB application and check on the services’ configuration status. Remember that the application lives in two databases (AdventureWorks2008 and XCatMgmt), so you need to provide parameters to check on both sides of the service contract. Because the service and contract names are quite long, we suggest enclosing the command-line contents in a batch file and running it from there.

Execute the following command, substituting connection credentials with those appropriate for your environment:

SSBDiagnose.exe
-U SSBTestUserName -P SSBTestUserName CONFIGURATION FROM SERVICE
"//samspublishing.com/SS2008/SSB/Services/CatalogChangeInitiatorService"
-S localhost\SQL08 -d AdventureWorks2008 TO SERVICE
"//samspublishing.com/SS2008/SSB/Services/CatalogMaintenanceService"
-S localhost\SQL08 -d XCatMgmt ON CONTRACT
"//samspublishing.com/SS2008/SSB/Contracts/BasicCatalogChangeContract"



If you’ve executed all the sample code and listings in this chapter, you should see no errors in the ssbdiagnose.exe output. For troubleshooting, refer to the next section to learn how to explore the system catalogs for SSB.

Now that you have a sense of what you can accomplish with this utility, you should take some time to explore it further by monitoring the status of a conversation of the service you set up in the XBikeDistribution database. Further information is available in the MSDN article “ssbdiagnose Utility.”

Other -----------------
- SQL Server 2008: Service Broker Routing and Security
- Migrating Databases and Data to SQL Azure (part 9)
- Migrating Databases and Data to SQL Azure (part 8)
- Understanding Service Broker Constructs (part 5)
- Understanding Service Broker Constructs (part 4) - Creating the Conversation Initiator
- Migrating Databases and Data to SQL Azure (part 7)
- Migrating Databases and Data to SQL Azure (part 6) - Building a Migration Package
- Migrating Databases and Data to SQL Azure (part 5) - Creating an Integration Services Project
- Understanding Service Broker Constructs (part 3)
- Understanding Service Broker Constructs (part 2) - Creating Queues for Message Storage
- Understanding Service Broker Constructs (part 1) - Defining Messages and Choosing a Message Type
- SQL Server 2008 : SQL Server Service Broker - Designing a Sample System
- Migrating Databases and Data to SQL Azure (part 4) - Fixing the Script
- Migrating Databases and Data to SQL Azure (part 3) - Reviewing the Generated Script
- SQL Server 2008 : SQL Server Service Broker - Understanding Distributed Messaging
- SQL Server 2008 : Full-Text Search Troubleshooting
- Migrating Databases and Data to SQL Azure (part 2)
- Migrating Databases and Data to SQL Azure (part 1) - Generate and Publish Scripts Wizard
- SQL Azure : Security - Access Control
- SQL Server 2008 : Full-Text Searches (part 3) - Stop Lists
 
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
- First look: Apple Watch

- 3 Tips for Maintaining Your Cell Phone Battery (part 1)

- 3 Tips for Maintaining Your Cell Phone Battery (part 2)
programming4us programming4us